home *** CD-ROM | disk | FTP | other *** search
- Path: howland.reston.ans.net!agate!parsons
- From: parsons@vouvray.CS.Berkeley.EDU (David C. Parsons)
- Newsgroups: comp.lang.c++
- Subject: Re: Need help on static data members of class templates
- Date: 20 Mar 1996 06:40:04 GMT
- Organization: University of California, Berkeley
- Message-ID: <4io984$3i9@agate.berkeley.edu>
- References: <4ig6pf$aqp@agate.berkeley.edu> <4ihj4i$2ni@news5.erols.com>
- NNTP-Posting-Host: vouvray.cs.berkeley.edu
-
- In article <4ihj4i$2ni@news5.erols.com>, Chris Cobb <ccobb@erols.com> wrote:
-
- > I tried your code under Borland C++. It compiles and produces the
- > following output:
- >
- > ...correct output deleted...
-
- That's too bad; I was hoping I was missing something. There's not much
- I can do about my compiler's deficiencies I guess. (I did find a
- workaround, which was to use a member function in place of the static
- variable.)
-
- > What version of gcc are you using and what platform?
-
- It's gcc version 2.7.2, on an HP 715 workstation. Is gcc known to have
- trouble with some template features?
-
- Thanks for your help!
-
- David Parsons
-